{+include file='header.html'+}
<script language="javascript" src="../js/md5.js"></script>
<link href="../css/admins.css" type="text/css" rel="stylesheet" />
<style>
.page{table-layout: fixed;}
.page td:hover{background:#FCF}
.recordtb .e tr:hover{background:#FCF}
.recordtb .l tr:hover{background:#FCF}
body{font-size:12px;}
</style>
</head>
<body>
<script id=myjs language="javascript">var js=1;var sss='caopan';</script>
<div class="xbody1">
   <table class="tinfo wd100">
   <TR>
   
<th >管理员</th><th>新增时间</th><th>登陆次数</th><th>最后登录IP</th><th>最后登录时间</th><th>最后修改密码时间</th><th>操作</th>

   </TR>     
   {+section name=i loop=$data+}
   <tr><td >{+$data[i].adminname+}</td><td>{+$data[i].regtime+}</td><td>{+$data[i].logintimes+}</td><td>{+$data[i].lastloginip+}[{+$data[i].lastloginfrom+}]</td><td>{+$data[i].lastlogintime+}</td><td>{+$data[i].passtime+}</td>
   <td style="width:200px;">
   {+if $data[i].adminid!=10000+}
   <input type='button' class='del btn1 btnf' value='删除' id=del"{+$data[i].adminid+}" AID="{+$data[i].adminid+}" />
   {+/if+}
   <input class='edit btn1 btnf' id=edit"{+$data[i].adminid+}" value='修改密码' AID="{+$data[i].adminid+}" type='button' />
   {+if $data[i].adminid==10000+}
   <input class='add btn1 btnf' value='新增'  id=add"{+$data[i].adminid+}" type='button' />
   {+/if+}
   <input class='record btn1 btnf' value='记录' aid='{+$data[i].adminid+}' aname='{+$data[i].adminname+}'  id=showrecord"{+$data[i].adminid+}" type='button' />
   </td>
   </tr>
   {+/section+}
   </table>
   <table class="page tinfo wd100" style="margin-top:20px;">
    {+foreach item=i from=$page+}
      <tr>
          {+foreach item=j from=$i+}
            <TD>{+$j+}</TD>
          {+/foreach+}
      </tr>
    {+/foreach+}
   </table>
   <table class="tinfo addtb" style="background:#fff">
      <TR><Th>管理帐号</Th><TD><label class="adminname" aid=''></label><input type="text" id='adminname' class="intext" maxlength="6" /><input type="hidden" id='action' value="add" /></TD></TR>
      <TR><Th>密码</Th><TD><input type="password" id='pass1' class="intext" /></TD></TR>
      <TR><Th>重复密码</Th><TD><input type="password" id='pass2' class="intext" /></TD></TR>
      <TR><th colspan="2" class="tcenter"><input type="button" id='addbtn' class="btn1 btnf" value="添加" /><input type="button" id='closebtn' class="btn1 btnf" value="关闭" /></th></TR>
   </table>
   <table class="recordtb tinfo hide" style="width:950px;position:absolute;background:#fff;display:none">
<tr><td class="e" valign="top"></td><td class="l" valign="top"></td></tr>

</table>
</div>
<div id='test'></div>
</body>
</html>
